/********************************************************************************
 * Copyright 2001 - 2015 Comit. All Rights Reserved.
 * 作者：RockeyCai
 * 日期：2015-9-15 17:00:57
 * 描述：瑜伽资源表的服务模型。(自动生成，代码模块1.0v)
 * *****************************************************************************/

/**
 * @class 瑜伽资源表服务接口
 */

module.exports = function (server) {
  var models=server.models;
  var router = server.loopback.Router();
  var paoGirl = models.PAO_GIRL;

  /**
   * http://127.0.0.1:3001/service/paoGirl
   */
  router.get('/service/paoGirl', function (req, res, next) {

    paoGirl.addModel(req, res , 1);

    paoGirl.addModel22344235(req, res , 1);

    paoGirl.addModel22344235(req, res , 2);

    paoGirl.addModel22344256(req, res , 1);

    paoGirl.addModel22340864(req, res , 1);

    paoGirl.addModel22342565(req, res , 1);

    paoGirl.addModel18591707(req, res , 1);

    paoGirl.addModel18563710(req, res , 1);

    paoGirl.addModel18664613(req, res , 1);

    paoGirl.addModel21300201(req, res , 1);

    paoGirl.addModel22341748(req, res , 1);

    paoGirl.addModel18368275(req, res , 1);

    paoGirl.addModel19489878(req, res , 1);

    paoGirl.addModel18546346(req, res , 1);

    paoGirl.addModel23748372(req, res , 1);

    paoGirl.addModel22341813(req, res , 1);

    paoGirl.addModel19556867(req, res , 1);

    paoGirl.addModel22341769(req, res , 1);

    paoGirl.addModel22342018(req, res , 1);

    paoGirl.addModel22342101(req, res , 1);

    paoGirl.addModel18365578(req, res , 1);

  });

  /**
   * http://127.0.0.1:3001/service/paoGirl22344235
   */
  router.get('/service/paoGirl22344235', function (req, res, next) {
    paoGirl.addModel22344235(req, res , 1);
    paoGirl.addModel22344235(req, res , 2);
  });

  /**
   * http://127.0.0.1:3001/service/paoGirl22344256
   */
  router.get('/service/paoGirl22344256', function (req, res, next) {
    paoGirl.addModel22344256(req, res , 1);
  });

  server.use(router);
}
